/*
 * @Author: 脉迈
 * @Date: 2022-01-21 18:11:46
 * @LastEditors: 脉迈
 * @LastEditTime: 2022-01-26 16:30:15
 */
import { http } from "../utils/http";
export const register = (data: any) => {
  return http("user/register", {
    method: "post",
    data,
  });
};
export const login = (data: any) => {
  return http("user/login", {
    method: "post",
    data,
  });
};

export const getRouters = (data?: any) => {
  return http("router/get", {
    method: "post",
    data,
  });
};
